<template>
    <!-- 视频组 -->
    <view class="diy-video" :style="'padding: ' + itemStyle.paddingTop + 'px 0;'">
        <video :style="'height: ' + itemStyle.height + 'px;'" :src="params.videoUrl" :poster="params.poster" controls></video>
    </view>
</template>

<script>
export default {
    data() {
        return {};
    },
    options: {},
    /**
     * 组件的属性列表
     * 用于组件自定义设置
     */
    props: {
        itemIndex: String,
        itemStyle: Object,
        params: Object
    },
    methods: {},
    created: function () {}
};
</script>
<style>
@import './video.css';
</style>
